2.4.4. Body Structure
Required fields are in bold.
Field | Example | Type and format | Comments |
{ | |||
"msgID" | 16, | int | |
"currency" | "UAH", | string | |
"totalAmount" | 1200000, | int | |
"zNumber" | 4, | int | shift number, should be unique for deviceID |
"fiscalNum" | 70113, | int | |
"receiptNumber" | 1, | int | receipt number, should be unique for the shift and deviceID |
"parentFiscalNum" | 3, | int | fiscal number of the parent document; should be present in the database |
"cashier" | "Cashier 1", | string | |
"dateTime" | "2025-01-02T092521.076Z", | dateTime of ISO-8601 format | |
"location" | optional | ||
{ | |||
"latitude" | 6.500183676689106, | float | |
"longitude" | 120.76210479216934, | float | |
"radius" | 1000 | int | |
}, | |||
"identity" | |||
{ | |||
"fn" | "567765", | string | device token |
"tin" | "1111111111", | string | |
"shopName" | "SHOP #1", | string | |
"shopAddress" | "Unknown st., 404" | string | |
}, | |||
} |